package charazay.tool.cobjects;

/**
 * Class Transaction
 */
public class Transaction {

	//
	// Fields
	//

	public Player player;
	public int buy_price;
	public long buy_date;
	public int sell_price;
	public long sell_date;
	
	//
	// Constructors
	//
	public Transaction () { };
	
	//
	// Methods
	//


	//
	// Accessor methods
	//

	/**
	 * Set the value of player
	 * @param newVar the new value of player
	 */
	public void setPlayer ( Player newVar ) {
		player = newVar;
	}

	/**
	 * Get the value of player
	 * @return the value of player
	 */
	public Player getPlayer ( ) {
		return player;
	}

	/**
	 * Set the value of buy_price
	 * @param newVar the new value of buy_price
	 */
	public void setBuy_price ( int newVar ) {
		buy_price = newVar;
	}

	/**
	 * Get the value of buy_price
	 * @return the value of buy_price
	 */
	public int getBuy_price ( ) {
		return buy_price;
	}

	/**
	 * Set the value of buy_date
	 * @param newVar the new value of buy_date
	 */
	public void setBuy_date ( long newVar ) {
		buy_date = newVar;
	}

	/**
	 * Get the value of buy_date
	 * @return the value of buy_date
	 */
	public long getBuy_date ( ) {
		return buy_date;
	}

	/**
	 * Set the value of sell_price
	 * @param newVar the new value of sell_price
	 */
	public void setSell_price ( int newVar ) {
		sell_price = newVar;
	}

	/**
	 * Get the value of sell_price
	 * @return the value of sell_price
	 */
	public int getSell_price ( ) {
		return sell_price;
	}

	/**
	 * Set the value of sell_date
	 * @param newVar the new value of sell_date
	 */
	public void setSell_date ( long newVar ) {
		sell_date = newVar;
	}

	/**
	 * Get the value of sell_date
	 * @return the value of sell_date
	 */
	public long getSell_date ( ) {
		return sell_date;
	}

	//
	// Other methods
	//

}
